package com.example.wuqujingdianphone.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class VideoMoreBean implements Parcelable {

    /**
     * id : 66
     * jianjie :
     * news_tit : 唐诗
     * spic : /Public/editor/attached/image/20180312/20180312150011_33988.jpg
     * news_djs : 0
     * author :
     * news_source :
     * tuij : 0
     * childs : [{"id":"3","title":"唐诗：白云泉 白居易","spic":"/Public/editor/attached/image/20180312/20180312144806_18217.jpg","url":"/Public/editor/attached/file/20180312/20180312144820_62143.mp4","add_time":"1520837305","times":"","pid":"66"},{"id":"4","title":"唐诗：边词 张敬忠","spic":"/Public/editor/attached/image/20180313/20180313082840_71748.jpg","url":"/Public/editor/attached/file/20180313/20180313082853_21697.mp4","add_time":"1520900937","times":"","pid":"66"},{"id":"5","title":"唐诗：别董大 高适","spic":"/Public/editor/attached/image/20180313/20180313083003_88486.jpg","url":"/Public/editor/attached/file/20180313/20180313083016_93916.mp4","add_time":"1520901020","times":"","pid":"66"},{"id":"6","title":"唐诗：泊秦淮 杜牧","spic":"/Public/editor/attached/image/20180313/20180313083045_31879.jpg","url":"/Public/editor/attached/file/20180313/20180313083059_24059.mp4","add_time":"1520901063","times":"","pid":"66"},{"id":"7","title":"唐诗：采莲曲 王昌龄","spic":"/Public/editor/attached/image/20180313/20180313083130_81575.jpg","url":"/Public/editor/attached/file/20180313/20180313083149_43807.mp4","add_time":"1520901113","times":"","pid":"66"},{"id":"8","title":"唐诗：蝉 虞世南","spic":"/Public/editor/attached/image/20180313/20180313083251_89527.jpg","url":"/Public/editor/attached/file/20180313/20180313083229_20662.mp4","add_time":"1520901173","times":"","pid":"66"},{"id":"9","title":"唐诗：赤壁 杜牧","spic":"/Public/editor/attached/image/20180313/20180313083315_23161.jpg","url":"/Public/editor/attached/file/20180313/20180313083326_49773.mp4","add_time":"1520901221","times":"","pid":"66"},{"id":"10","title":"唐诗：出塞 王昌龄","spic":"/Public/editor/attached/image/20180313/20180313083401_91535.jpg","url":"/Public/editor/attached/file/20180313/20180313083413_12787.mp4","add_time":"1520901258","times":"","pid":"66"},{"id":"11","title":"唐诗：滁州西涧 韦应物","spic":"/Public/editor/attached/image/20180313/20180313083504_34180.jpg","url":"/Public/editor/attached/file/20180313/20180313083519_64000.mp4","add_time":"1520901322","times":"","pid":"66"},{"id":"12","title":"唐诗：春草 唐彦谦","spic":"/Public/editor/attached/image/20180313/20180313083902_19321.jpg","url":"/Public/editor/attached/file/20180313/20180313083917_89681.mp4","add_time":"1520901561","times":"","pid":"66"},{"id":"13","title":"唐诗：春行即兴 杜甫","spic":"/Public/editor/attached/image/20180313/20180313084014_86893.jpg","url":"/Public/editor/attached/file/20180313/20180313084031_60902.mp4","add_time":"1520901646","times":"","pid":"66"},{"id":"14","title":"唐诗：春望 杜甫","spic":"/Public/editor/attached/image/20180313/20180313084127_61487.jpg","url":"/Public/editor/attached/file/20180313/20180313084155_16973.mp4","add_time":"1520901720","times":"","pid":"66"},{"id":"15","title":"唐诗：春晓 孟浩然","spic":"/Public/editor/attached/image/20180313/20180313084250_12307.jpg","url":"/Public/editor/attached/file/20180313/20180313084310_14133.mp4","add_time":"1520901794","times":"","pid":"66"},{"id":"16","title":"唐诗：春夜喜雨 杜甫","spic":"/Public/editor/attached/image/20180313/20180313084342_54313.jpg","url":"/Public/editor/attached/file/20180313/20180313084405_73124.mp4","add_time":"1520901850","times":"","pid":"66"},{"id":"17","title":"唐诗：从军行 王昌龄","spic":"/Public/editor/attached/image/20180313/20180313084432_18404.jpg","url":"/Public/editor/attached/file/20180313/20180313084457_31876.mp4","add_time":"1520901902","times":"","pid":"66"},{"id":"18","title":"唐诗：从军行 杨炯","spic":"/Public/editor/attached/image/20180313/20180313084806_42785.jpg","url":"/Public/editor/attached/file/20180313/20180313084828_27418.mp4","add_time":"1520902112","times":"","pid":"66"},{"id":"19","title":"唐诗：从军行(其二) 王昌龄","spic":"/Public/editor/attached/image/20180313/20180313084910_21620.jpg","url":"/Public/editor/attached/file/20180313/20180313084929_74478.mp4","add_time":"1520902174","times":"","pid":"66"},{"id":"20","title":"唐诗：从军行(其五) 王昌龄","spic":"/Public/editor/attached/image/20180313/20180313085022_23966.jpg","url":"/Public/editor/attached/file/20180313/20180313085041_96709.mp4","add_time":"1520902246","times":"","pid":"66"},{"id":"21","title":"唐诗：大林寺桃花 白居易","spic":"/Public/editor/attached/image/20180313/20180313085111_72935.jpg","url":"/Public/editor/attached/file/20180313/20180313085125_83528.mp4","add_time":"1520902291","times":"","pid":"66"},{"id":"22","title":"唐诗：登金陵凤凰台 李白","spic":"/Public/editor/attached/image/20180313/20180313085204_40190.jpg","url":"/Public/editor/attached/file/20180313/20180313085222_10571.mp4","add_time":"1520902347","times":"","pid":"66"},{"id":"23","title":"唐诗：登科后 孟郊","spic":"/Public/editor/attached/image/20180313/20180313085309_83677.jpg","url":"/Public/editor/attached/file/20180313/20180313085326_18300.mp4","add_time":"1520902410","times":"","pid":"66"},{"id":"24","title":"唐诗：登乐游原 李商隐","spic":"/Public/editor/attached/image/20180313/20180313085354_96437.jpg","url":"/Public/editor/attached/file/20180313/20180313085407_73270.mp4","add_time":"1520902451","times":"","pid":"66"},{"id":"25","title":"唐诗：登颧雀楼 王之涣","spic":"/Public/editor/attached/image/20180313/20180313085441_60990.jpg","url":"/Public/editor/attached/file/20180313/20180313085452_26067.mp4","add_time":"1520902497","times":"","pid":"66"},{"id":"26","title":"唐诗：登玄都阁 朱庆馀","spic":"/Public/editor/attached/image/20180313/20180313085527_71202.jpg","url":"/Public/editor/attached/file/20180313/20180313085551_28215.mp4","add_time":"1520902562","times":"","pid":"66"},{"id":"27","title":"唐诗：登幽州台歌 陈子昂","spic":"/Public/editor/attached/image/20180313/20180313085631_83127.jpg","url":"/Public/editor/attached/file/20180313/20180313085647_59674.mp4","add_time":"1520902612","times":"","pid":"66"},{"id":"28","title":"唐诗：独坐敬亭山 李白","spic":"/Public/editor/attached/image/20180313/20180313085722_42102.jpg","url":"/Public/editor/attached/file/20180313/20180313085732_66780.mp4","add_time":"1520902656","times":"","pid":"66"},{"id":"29","title":"唐诗：渡汉江 宋之问","spic":"/Public/editor/attached/image/20180313/20180313085859_73256.jpg","url":"/Public/editor/attached/file/20180313/20180313085915_55274.mp4","add_time":"1520902759","times":"","pid":"66"},{"id":"30","title":"唐诗：渡浙江问舟中人 孟浩然","spic":"/Public/editor/attached/image/20180313/20180313085941_51176.jpg","url":"/Public/editor/attached/file/20180313/20180313090013_42439.mp4","add_time":"1520902817","times":"","pid":"66"},{"id":"31","title":"唐诗：峨眉山月歌 李白","spic":"/Public/editor/attached/image/20180313/20180313090043_23219.jpg","url":"/Public/editor/attached/file/20180313/20180313090058_99384.mp4","add_time":"1520902863","times":"","pid":"66"},{"id":"32","title":"唐诗：风 李峤","spic":"/Public/editor/attached/image/20180313/20180313090133_37778.jpg","url":"/Public/editor/attached/file/20180313/20180313090152_21846.mp4","add_time":"1520902917","times":"","pid":"66"},{"id":"33","title":"唐诗：风雪宿芙蓉山主人 刘长卿","spic":"/Public/editor/attached/image/20180313/20180313090227_55541.jpg","url":"/Public/editor/attached/file/20180313/20180313090242_62102.mp4","add_time":"1520902968","times":"","pid":"66"},{"id":"34","title":"唐诗：枫桥夜泊 张继","spic":"/Public/editor/attached/image/20180313/20180313090314_39034.jpg","url":"/Public/editor/attached/file/20180313/20180313090326_31906.mp4","add_time":"1520903015","times":"","pid":"66"},{"id":"35","title":"唐诗：蜂 罗隐","spic":"/Public/editor/attached/image/20180313/20180313090401_35491.jpg","url":"/Public/editor/attached/file/20180313/20180313090418_87272.mp4","add_time":"1520903065","times":"","pid":"66"},{"id":"36","title":"唐诗：逢入京使 岑参","spic":"/Public/editor/attached/image/20180313/20180313090455_20653.jpg","url":"/Public/editor/attached/file/20180313/20180313090519_14097.mp4","add_time":"1520903124","times":"","pid":"66"},{"id":"37","title":"唐诗：芙蓉楼送辛浙 王昌龄","spic":"/Public/editor/attached/image/20180313/20180313090611_77780.jpg","url":"/Public/editor/attached/file/20180313/20180313090635_66005.mp4","add_time":"1520903200","times":"","pid":"66"},{"id":"38","title":"唐诗：赋得古原草送别 白居易","spic":"/Public/editor/attached/image/20180313/20180313090720_57452.jpg","url":"/Public/editor/attached/file/20180313/20180313090736_11719.mp4","add_time":"1520903259","times":"","pid":"66"},{"id":"39","title":"唐诗：赋新月 缪氏子","spic":"/Public/editor/attached/image/20180313/20180313090806_93504.jpg","url":"/Public/editor/attached/file/20180313/20180313090821_40410.mp4","add_time":"1520903307","times":"","pid":"66"},{"id":"40","title":"唐诗：公子行 孟宾于","spic":"/Public/editor/attached/image/20180313/20180313090851_28613.jpg","url":"/Public/editor/attached/file/20180313/20180313090905_68881.mp4","add_time":"1520903350","times":"","pid":"66"},{"id":"41","title":"唐诗：古朗月行 李白","spic":"/Public/editor/attached/image/20180313/20180313090939_52272.jpg","url":"/Public/editor/attached/file/20180313/20180313090952_51781.mp4","add_time":"1520903397","times":"","pid":"66"},{"id":"42","title":"唐诗：古怨别 孟郊","spic":"/Public/editor/attached/image/20180313/20180313091029_90881.jpg","url":"/Public/editor/attached/file/20180313/20180313091046_28723.mp4","add_time":"1520903452","times":"","pid":"66"},{"id":"43","title":"唐诗：观猎 王维","spic":"/Public/editor/attached/image/20180313/20180313091117_54360.jpg","url":"/Public/editor/attached/file/20180313/20180313091133_20557.mp4","add_time":"1520903497","times":"","pid":"66"},{"id":"44","title":"唐诗：官仓鼠 曹邺","spic":"/Public/editor/attached/image/20180313/20180313091159_64088.jpg","url":"/Public/editor/attached/file/20180313/20180313091215_37515.mp4","add_time":"1520903538","times":"","pid":"66"},{"id":"45","title":"唐诗：闺怨 王昌龄","spic":"/Public/editor/attached/image/20180313/20180313091241_24606.jpg","url":"/Public/editor/attached/file/20180313/20180313091256_75058.mp4","add_time":"1520903582","times":"","pid":"66"},{"id":"46","title":"唐诗：过故人庄 孟浩然","spic":"/Public/editor/attached/image/20180313/20180313091330_49166.jpg","url":"/Public/editor/attached/file/20180313/20180313091345_54903.mp4","add_time":"1520903628","times":"","pid":"66"},{"id":"47","title":"唐诗：过华清宫(其一) 杜牧","spic":"/Public/editor/attached/image/20180313/20180313091413_48897.jpg","url":"/Public/editor/attached/file/20180313/20180313091426_50877.mp4","add_time":"1520903672","times":"","pid":"66"},{"id":"48","title":"唐诗：寒食 韩宏","spic":"/Public/editor/attached/image/20180313/20180313091459_29072.jpg","url":"/Public/editor/attached/file/20180313/20180313091517_97783.mp4","add_time":"1520903722","times":"","pid":"66"},{"id":"49","title":"唐诗：淮上与友人别 郑谷","spic":"/Public/editor/attached/image/20180313/20180313091551_47757.jpg","url":"/Public/editor/attached/file/20180313/20180313091625_26479.mp4","add_time":"1520903789","times":"","pid":"66"},{"id":"50","title":"唐诗：黄鹤楼送孟浩然 李白","spic":"/Public/editor/attached/image/20180313/20180313091703_81161.jpg","url":"/Public/editor/attached/file/20180313/20180313091717_87195.mp4","add_time":"1520903844","times":"","pid":"66"},{"id":"51","title":"唐诗：回乡偶书 贺之章","spic":"/Public/editor/attached/image/20180313/20180313091757_96646.jpg","url":"/Public/editor/attached/file/20180313/20180313091812_34147.mp4","add_time":"1520903898","times":"","pid":"66"},{"id":"52","title":"唐诗：回乡偶书 贺知章","spic":"/Public/editor/attached/image/20180313/20180313091843_32283.jpg","url":"/Public/editor/attached/file/20180313/20180313091857_30099.mp4","add_time":"1520903941","times":"","pid":"66"}]
     */

    private String id;
    private String jianjie;
    private String news_tit;
    private String spic;
    private String news_djs;
    private String author;
    private String news_source;
    private String tuij;
    private ArrayList<ChildsBean> childs;

    protected VideoMoreBean(Parcel in) {
        id = in.readString();
        jianjie = in.readString();
        news_tit = in.readString();
        spic = in.readString();
        news_djs = in.readString();
        author = in.readString();
        news_source = in.readString();
        tuij = in.readString();
        childs = in.createTypedArrayList(ChildsBean.CREATOR);
    }

    public static final Creator<VideoMoreBean> CREATOR = new Creator<VideoMoreBean>() {
        @Override
        public VideoMoreBean createFromParcel(Parcel in) {
            return new VideoMoreBean(in);
        }

        @Override
        public VideoMoreBean[] newArray(int size) {
            return new VideoMoreBean[size];
        }
    };

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getJianjie() {
        return jianjie;
    }

    public void setJianjie(String jianjie) {
        this.jianjie = jianjie;
    }

    public String getNews_tit() {
        return news_tit;
    }

    public void setNews_tit(String news_tit) {
        this.news_tit = news_tit;
    }

    public String getSpic() {
        return spic;
    }

    public void setSpic(String spic) {
        this.spic = spic;
    }

    public String getNews_djs() {
        return news_djs;
    }

    public void setNews_djs(String news_djs) {
        this.news_djs = news_djs;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getNews_source() {
        return news_source;
    }

    public void setNews_source(String news_source) {
        this.news_source = news_source;
    }

    public String getTuij() {
        return tuij;
    }

    public void setTuij(String tuij) {
        this.tuij = tuij;
    }

    public ArrayList<ChildsBean> getChilds() {
        return childs;
    }

    public void setChilds(ArrayList<ChildsBean> childs) {
        this.childs = childs;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(id);
        dest.writeString(jianjie);
        dest.writeString(news_tit);
        dest.writeString(spic);
        dest.writeString(news_djs);
        dest.writeString(author);
        dest.writeString(news_source);
        dest.writeString(tuij);
        dest.writeTypedList(childs);
    }

    public static class ChildsBean implements Parcelable {
        /**
         * id : 3
         * title : 唐诗：白云泉 白居易
         * spic : /Public/editor/attached/image/20180312/20180312144806_18217.jpg
         * url : /Public/editor/attached/file/20180312/20180312144820_62143.mp4
         * add_time : 1520837305
         * times :
         * pid : 66
         */

        private String id;
        private String title;
        private String spic;
        private String url;
        private String add_time;
        private String times;
        private String pid;

        protected ChildsBean(Parcel in) {
            id = in.readString();
            title = in.readString();
            spic = in.readString();
            url = in.readString();
            add_time = in.readString();
            times = in.readString();
            pid = in.readString();
        }

        public static final Creator<ChildsBean> CREATOR = new Creator<ChildsBean>() {
            @Override
            public ChildsBean createFromParcel(Parcel in) {
                return new ChildsBean(in);
            }

            @Override
            public ChildsBean[] newArray(int size) {
                return new ChildsBean[size];
            }
        };

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getSpic() {
            return spic;
        }

        public void setSpic(String spic) {
            this.spic = spic;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public String getTimes() {
            return times;
        }

        public void setTimes(String times) {
            this.times = times;
        }

        public String getPid() {
            return pid;
        }

        public void setPid(String pid) {
            this.pid = pid;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(id);
            dest.writeString(title);
            dest.writeString(spic);
            dest.writeString(url);
            dest.writeString(add_time);
            dest.writeString(times);
            dest.writeString(pid);
        }
    }
}
